using System.ServiceModel;

namespace FileServiceHost {
    [ServiceContract(Namespace = "http://FileServiceHost")]
    public interface IStreamingSample {
        [OperationContract]
        System.IO.Stream GetStream(string data);
        [OperationContract]
        bool UploadStream(System.IO.Stream stream);
        [OperationContract]
        System.IO.Stream EchoStream(System.IO.Stream stream);
        [OperationContract]
        System.IO.Stream GetReversedStream();

    }
}
